import request from '@/request/index.js'



export function userInfo() {
	return request.get({
		url: `/api/user/index`,
	});
}
export function buyVip() {
	return request.post({
		url: `/api/user/buyVip`,
	});
}
export function myTeam() {
	return request.post({
		url: `/api/user/myTeam`,
	});
}
export function mySon() {
	return request.post({
		url: `/api/user/mySon`,
	});
}
export function social() {
	return request.post({
		url: `/api/index/social`,
	});
}
export function profile(data) {
	return request.post({
		url: `/api/user/profile`,
		data
	});
}